﻿<%@ Page Title="" Language="C#" MasterPageFile="~/common/AfterLogin.master" AutoEventWireup="true" CodeFile="insurance_certificate.aspx.cs" Inherits="product_insurance_user_insurance_certificate" %>
<%------------------------ Jifen create 2013.06.05 -------------------------%>

<asp:Content ID="leftMenu" ContentPlaceHolderID="leftMenu" Runat="Server">
          <ul>
                   <li><a href="<%= Page.ResolveUrl("~/product/insurance/user/insurance_statement.aspx")%>">Plan Statement</a></li>
                   <li><a href="<%= Page.ResolveUrl("~/product/insurance/user/insurance_certificate.aspx")%>">Plan Certificate</a></li>
                   <li><a href="<%= Page.ResolveUrl("~/product/insurance/user/insurance_terminate.aspx")%>">Terminate / Renew</a></li>
                   <li><a href="<%= Page.ResolveUrl("~/product/insurance/user/insurance_claim.aspx")%>">Claim Instructions</a></li>
                   <li><a href="<%= Page.ResolveUrl("~/product/insurance/insurance_home.aspx")%>">Plan Details</a></li>
                   <li><a href="<%= Page.ResolveUrl("~/product/insurance/user/insurance_apply_hospital.aspx")%>">Apply For Hospitalisation Plan</a></li>
                   <li><a href="<%= Page.ResolveUrl("~/product/insurance/user/insurance_apply_accident.aspx")%>">Apply For Personal Accident Plan</a></li>
                  
        </ul>
</asp:Content>

<asp:Content ID="Content1" ContentPlaceHolderID="content" Runat="Server">
    <style type="text/css">
        
    .boldfont
    {
        font-weight:bold;
    }    
   
    @media print
    {
    	#non-printable { display: none; }
    	#printable { display: block; }
    }
    .auto-style1 {
        height: 20px;
    }
    
    fieldset
{
    border:0;
}
h5
{
    font-size:1.8em;border: 1px solid #FA5882;background-color : #FA5882;color: White;width: 750px; 
                text-align: center; margin-left:-11px
}
</style>
<div id="printable">
    <p>
        <br />
    </p>
     <asp:Repeater ID="certificate_Repeater" runat="server">
                <ItemTemplate>
                <h5>Power Saver Insurance Certificate No.<asp:Label ID="Label1" runat="server" Text='<%# Bind("insuredID") %>'></asp:Label></h5>
    <fieldset>
        <legend></legend>


        <table class="style1">
            <tr>
                <td class="style2">
                    &nbsp;</td>
                <td class="style3">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="boldfont">
                    Certificate No. :</td>
                <td class="style3">
                    <asp:Label ID="lb_certNo" runat="server" Text='<%# Bind("insuredID") %>' Font-Bold="True" ForeColor="Black" ></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="boldfont">
                    Name of Policy Holder :</td>
                <td class="style3">
                    <asp:Label ID="lb_holderName" runat="server" Text='<%# Bind("custFullName") %>' Font-Bold="True" ForeColor="Black"></asp:Label>
                </td>
            </tr>
          
                    <tr>
                        <td class="boldfont">
                            Name of Insured :
                        </td>
                        <td >
                            <asp:Label ID="lb_insuredName" runat="server" Text='<%# Bind("insuredFullName") %>' Font-Bold="True" ForeColor="Black"></asp:Label>
                        </td>
                    </tr>
               
            <tr>
                <td class="boldfont">
                    &nbsp;</td>
                <td class="boldfont">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="boldfont">
                    Plan Type :</td>
                <td>
                    <asp:Label ID="b_planType" runat="server" Text='<%# Bind("productType") %>' Font-Bold="True" ForeColor="Black"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="boldfont">
                    Category :</td>
                <td class="style3">
                    <asp:Label ID="lb_plan" runat="server" Text='<%# Bind("planType") %>' Font-Bold="True" ForeColor="Black"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="boldfont">
                    &nbsp;</td>
                <td class="style3">
                    &nbsp;</td>
            </tr>
           
            <tr>
                <td class="boldfont">
                    &nbsp;</td>
                <td class="style3">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="boldfont">
                    Payment Period:</td>
                <td class="style3">
                    <asp:Label ID="lb_premiumPeriod" runat="server" Text='<%# Bind("premiumPeriod") %>' Font-Bold="True" ForeColor="Black"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="boldfont">
                    Premium Amount :</td>
                <td class="style3">
                    <asp:Label ID="lb_premium" runat="server" Text='<%# Bind("Premium") %>' Font-Bold="True" ForeColor="Black"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="boldfont">
                    &nbsp;</td>
                <td class="style3">
                    &nbsp;</td>
            </tr>
             <tr>
                <td class="boldfont">
                    Effective Date :</td>
                <td class="style3">
                    <asp:Label ID="lb_effectiveDate" runat="server" Text='<%# Bind("startDate") %>' Font-Bold="True" ForeColor="Black"></asp:Label>
                   
                </td>
            </tr>
            <tr>
                <td class="boldfont">
                    Expiry Date :</td>
                <td class="style5">
                    <asp:Label ID="lb_expiryDate" runat="server" Text='<%# Bind("endDate") %>' Font-Bold="True" ForeColor="Black"></asp:Label>
                   
                </td>
            </tr>
             <tr>
                <td class="boldfont">
                    &nbsp;</td>
                <td class="style3">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="boldfont">
                    Issued by :
                </td>
                <td style="color:Black; font-weight:bold;">
                    Power Saver Ltd</td>
            </tr>
            <tr>
                <td class="boldfont">
                    Staff Name:</td>
                <td class="style3">
                    <asp:Label ID="lb_staffName" runat="server" Text = '<%# Bind("staffFullName") %>' Font-Bold="True" ForeColor="Black"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="boldfont">
                    Staff ID :</td>
                <td class="style3">
                    <asp:Label ID="lb_staffID" runat="server" Text = '<%# Bind("staffID") %>' Font-Bold="True" ForeColor="Black"></asp:Label>
                </td>
            </tr>
           <%-- <tr>
                <td class="style2">
                    Date :</td>
                <td class="style3">
                    <asp:Label ID="lb_date" runat="server" Text = '<%# Bind("") %>'></asp:Label>
                </td>
            </tr>--%>
        </table>


    </fieldset>
     </ItemTemplate>
            </asp:Repeater>
   
    <p>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    </p>
    <p>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <button onclick="window.print();" id="non-printable">Print Out</button>
    </p>
</div>
</asp:Content>

